<#--
 *  Content Reports Dashlet for Alfresco (http://www.dashlet.info)
 *  
 *  Copyright (C) 2011, 2012 Pedro Salido López <psalido@dashlet.info>
 *  
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *  
 *  NOTICE
 *  This product includes software used under license from Alfresco Software, Inc., 
 *  but it is not an Alfresco product and has not been tested, endorsed, or 
 *  approved by Alfresco Software, Inc. or any of its affiliates.
-->
<script type="text/javascript">//<![CDATA[
	 var reportDashletName="Alfresco.dashlet.Report";
   new Alfresco.widget.DashletResizer("${args.htmlid}", "${instance.object.id}");
   var url_context='${page.url.context}';
   var locale='${locale}';
   Alfresco.util.addMessages(${messages}, reportDashletName);
   var isDashlet=true;
//]]></script>
<div class="dashlet">
   <div class="title">${msg("header.dashletTitle")}</div>

   	<#if serverVersion?starts_with("4")>
		<#assign assignedClass="content-report-body">
	<#else>
		<#assign assignedClass="">
	</#if>

   <div  id="${args.htmlid}-panel" class="body scrollableList ${assignedClass}" <#if args.height??>style="height: ${args.height}px;"</#if> >
	<#include "../console/reports.inc">
   </div> <!-- cierra scrollableList del dashlet-->



</div> <!-- cierra dashlet -->

